package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.Refund;
import trlygjj.tanruiliyigenjinjin.query.QueryObject;

import java.util.List;

public interface RefundMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Refund record);

    Refund selectByPrimaryKey(Long id);

    List<Refund> selectAll();

    int updateByPrimaryKey(Refund record);

    int queryForCount(QueryObject qo);

    List<Refund> queryForList(QueryObject qo);

    void refundState(Refund refund);
}